﻿/**
 * @file PyFITKMaterialsIsotropicSolids.h
 * @brief 各向同性材料 为python装饰器接口准备的封装类
 * @author wangning (2185896382@qq.com)
 * @date 2024-12-03
 */
#ifndef _PY_MATERIALS_IsotropicSolids_H___
#define _PY_MATERIALS_IsotropicSolids_H___

#include <QString>
#include "FITKAcousticsPhysicsAPI.h"
#include "PyFITKMaterialsBase.h"

namespace Acoustics
{
    /**
     * @brief 各向同性材料 为python装饰器接口准备的封装类
     * @author wangning (2185896382@qq.com)
     * @date 2024-12-03
     */
    class FITKAcousticsPhysicsAPI PyFITKMaterialsIsotropicSolids :public PyFITKMaterialsBase
    {
    public:
        explicit PyFITKMaterialsIsotropicSolids(const QString& name);
        explicit PyFITKMaterialsIsotropicSolids() = default;
        virtual ~PyFITKMaterialsIsotropicSolids() = default;
        /**
         * @brief  设置属性
         * @param[i]  density：密度
         * @param[i]  tensileModulus：拉伸模量
         * @param[i]  shearModulus：剪切模量
         * @param[i]  poissonRatio：泊松比
         * @author wangning (2185896382@qq.com)
         * @date   2024-12-3
         */
        bool setIsotropicSolidsProp(double density, double tensileModulus, double shearModulus, double poissonRatio);
        /**
         * @brief  创建材料
         * @author wangning (2185896382@qq.com)
         * @date   2024-12-3
         */
        bool createMaterial(const QString& name);
    private:
    };
}
#endif
